package com.xiaoshuidi.cloud.module.rooms.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xiaoshuidi.cloud.framework.mybatis.core.dataobject.BaseDO;
import com.xiaoshuidi.cloud.framework.tenant.core.db.TenantBaseDO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 盘点单
 * </p>
 *
 * @author author
 * @since 2023-05-21
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("room_equipment_stocktaking")
@Schema(description="盘点单")
public class EquipmentStocktaking extends TenantBaseDO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "主键id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @Schema(description = "单号")
    private String no;

    @Schema(description = "盘点状态0盘点中1已完成")
    private String status;

    @Schema(description = "盘点人ID")
    private Long checkedBy;

    @Schema(description = "盘点人姓名")
    private String checkedName;

    @Schema(description = "盘点区域")
    private String invArea;

    @Schema(description = "盘点时间")
    private LocalDateTime pdTime;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "部门编号")
    private Long deptId;

}
